package com.gof.example.iterator;

/**
 * Created with IntelliJ IDEA.
 * Created by zhiyuan on 2018/5/10 22:52.
 * haiming.fei@tongdun.cn
 */
public abstract class Iteratable {

    abstract public Object next();
    abstract public boolean hasNext();
    abstract public int currentIndex();
}
